<script lang='ts' setup>
import type { InputNumberProps } from 'element-plus'

withDefaults(defineProps<Omit<InputNumberProps, 'modelValue'>>(), {
  disabled: false,
  placeholder: '请输入',
  size: 'default',
  controlsPosition: 'right',
})

const value = defineModel<number>()
</script>

<template>
  <div class="w-full">
    <el-input-number v-model="value" class="w-full" :placeholder="placeholder" :disabled="disabled" :size="size" :controls-position="controlsPosition" />
  </div>
</template>

<style lang='scss' module></style>
